<!--<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>增加空气情况</title>
</head>
<body>
<h2>添加空气质量信息</h2>
<div>
    <form action="addair" method="post">
        检测区域：<select  name="district_id">
        <option>请选择</option>
        <option th:selected="selected"  value="1" name="district_id" > 东城区</option>
        <option th:selected="selected"  value="2" name="district_id"> 西城区</option>
        <option th:selected="selected"  value="3" name="district_id"> 海淀区</option>
        <option th:selected="selected"  value="4" name="district_id"> 丰台区</option>
        <option th:selected="selected"  value="5" name="district_id"> 房山区</option>
        <option th:selected="selected"  value="6" name="district_id"> 昌平区</option>
        <option th:selected="selected"  value="7" name="district_id"> 通州区</option>
                </select>
        检测日期：<input type="date" name="monitor_time"><br>
        PM10值：<input type="text" name="pm10"><br>
        PM25值：<input type="text" name="pm25"><br>
        检测站：<input type="text" name="monitoring_station"><br>
        最后修改时间：<input type="text" name="last_modify_time" >
        <input type="submit" value="保存">
    </form>
</div>
</body>
</html>-->

<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>增加空气情况</title>
    <style>
        body{
            margin: 0px;
            background-color: aquamarine;
            background-size: cover;
        }
        #div1{
            height: 50px;
            line-height: 50px;
            font-size: 30px;
            font-weight: 600;
            color: white;
            background-color: darkcyan;
            /* text-indent: 50px; */
            padding-left: 40px;
        }
        #div2{
            height: 500px;
            width: 600px;
            background-color: rgba(0,0,0,0.2);
            margin: 80px auto;
            padding-top: 20px;
            padding-left: 80px;

        }

        #div2 img{
            height: 30px;
            width: 30px;
            vertical-align: middle;
        }
        #div2 input{
            height: 25px;
            width: 249px;
            padding-left: 20px;
            font-size: 20px;
            margin: 20px;
        }
        submit{
            width: 100px;
            height: 30px;
            background-color: #FFFFFF;
            border: 0px;
            font-size: 20px;
            text-align: center;
        }


    </style>
</head>
<body>
<!-- 第一块区域 -->
<div id="div1">
    添加空气质量信息
</div>
<div id="div2">
    <div>
        <form action="addair" method="post">
            检测区域：<select  name="district_id" style="height: 25px">
            <option>请选择</option>
            <option th:selected="selected"  value="1" name="district_id" > 东城区</option>
            <option th:selected="selected"  value="2" name="district_id"> 西城区</option>
            <option th:selected="selected"  value="3" name="district_id"> 海淀区</option>
            <option th:selected="selected"  value="4" name="district_id"> 丰台区</option>
            <option th:selected="selected"  value="5" name="district_id"> 房山区</option>
            <option th:selected="selected"  value="6" name="district_id"> 昌平区</option>
            <option th:selected="selected"  value="7" name="district_id"> 通州区</option>
        </select>
            空气检测日期：<input type="date" name="monitor_time"><br>
            空气PM10值： <input type="text" name="pm10"><br>
            空气PM25值： <input type="text" name="pm25"><br>
            选择的检测站：  <input type="text" name="monitoring_station"><br>
            最后修改时间：<input type="date" name="last_modify_time" >
            <div style="padding-left: 120px">
            <input type="submit" value="保存">
            </div>
        </form>
    </div>
</div>



</body>
</html>
